home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precos 4.97 Computer 2000
/
Precos 4.97 Computer 2000.iso
/
pc
/
info
/
5network
/
3com
/
3c503n.exe
/
NETWARE
/
286-IPX
/
UPDATE.BAT
< prev
Wrap
DOS Batch File
|
1993-02-05
|
3KB
|
114 lines
@echo off
REM %%VER NetWare 286 Drivers Installation Utility Program v3.4c
REM Updates EtherLink II network adapter drivers in a NW 286 system
REM Format: From the NETWARE subdirectory
REM > 286-IPX\update [target_drive:]
echo Updating NetWare 286 driver files on %1
set update=n
if not exist %1Shgen-1\*.* goto ST1
copy %1Shgen-1\S3C503.lan %1Shgen-1\*.old > nul
copy 286-IPX\S3C503.lan %1Shgen-1 > nul
echo.
echo Updated the EtherLink II .LAN file in directory %1Shgen-1
set update=y
:ST1
if not exist %1Brgen-1\*.* goto ST2
copy %1Brgen-1\3C503A?.lan %1Brgen-1\*.old > nul
copy %1Brgen-1\A3C503A?.lan %1Brgen-1\*.old > nul
copy 286-IPX\3C503A?.lan %1Brgen-1 > nul
echo.
echo Updated the EtherLink II .LAN file in directory %1Brgen-1
set update=y
:ST2
if not exist %1Auxgen\*.* goto ST3
copy %1Auxgen\3C503A?.lan %1Auxgen\*.old > nul
copy %1Auxgen\A3C503A?.lan %1Auxgen\*.old > nul
copy 286-IPX\3C503A?.lan %1Auxgen > nul
echo.
echo Updated the EtherLink II .Lan file in directory %1Auxgen
set update=y
:ST3
if not exist %1WSgen\*.* goto ST4
copy %1WSgen\S3C503.lan %1WSgen\*.old > nul
copy 286-IPX\S3C503.lan %1WSgen > nul
echo.
echo Updated the EtherLink II .LAN file in directory %1Wsgen
set update=y
:ST4
if not exist %1Routegen\*.* goto ST5
copy %1Routegen\3C503A?.lan %1Routegen\*.old > nul
copy %1Routegen\A3C503A?.lan %1Routegen\*.old > nul
copy 286-IPX\3C503A?.lan %1Routegen > nul
echo.
echo Updated the EtherLink II .LAN file in directory %1Routegen
set update=y
:ST5
if not exist %1System-1\*.* goto ST6
copy %1System-1\3C503A?.lan %1System-1\*.old > nul
copy %1System-1\A3C503A?.lan %1System-1\*.old > nul
copy 286-IPX\3C503A?.lan %1System-1 > nul
echo.
echo Updated the EtherLink II .LAN file in directory %1System-1
set update=y
:ST6
if %update% == n goto errmsg
if not exist %1lan_drv_.503\*.* goto make503
:contin
copy %1lan_drv_.503\*.obj %1lan_drv_.503\*.old > nul
copy 286-IPX\*.obj %1lan_drv_.503 > nul
echo Updated the EtherLink II .OBJ's in directory %1LAN_DRV_.503
:DONE
echo.
echo The NetWare 286 EtherLink II drivers on %1 have
echo been updated. The older drivers have been copied
echo to files with the extension ".old."
goto end
:errmsg
echo.
echo *** Error: No Files Were Updated! ***
echo Make sure that you have entered the correct drive
echo letter and that you have access rights to the files.
echo Strike any key to return to the NetWare Menu.
goto end
:make503
md %1lan_drv_.503 > nul
goto contin
:end